package cn.cocho.custom.yunCashierDf.merchant.service;


import cn.cocho.common.web.character.StringUtils;
import cn.cocho.custom.yunCashierDf.merchant.domain.AsyncRequestInfo;
import cn.cocho.dborm.core.Dborm;
import org.springframework.stereotype.Service;

/**
 * Created by WQJ on 2017-06-03.
 */
@Service("asyncRequestInfoService")
public class AsyncRequestInfoService {
    public void add(AsyncRequestInfo asyncRequestInfo) {
        asyncRequestInfo.setRequestId(StringUtils.getUUID());
        Dborm.insert(asyncRequestInfo);
    }
}
